import service from "@/utils/service.js"
export let getlink = (url, type, data) => {
    return new Promise((resolve, reject) => {
        service.request({
            url,
            method: type,
            data,
        }).then((ok) => {
            resolve(ok);
        }).catch((err) => {
            reject(err);
        })
    })
}